package com.sg.business.commons.labelprovider.project;

import org.eclipse.jface.viewers.ColumnLabelProvider;

import com.sg.business.model.WorkOrderDetail;

public class ProjectWorkOrderStatusLabelProvider extends ColumnLabelProvider {

	@Override
	public String getText(Object element) {
		if (element instanceof WorkOrderDetail) {
			WorkOrderDetail workOrderDetail = (WorkOrderDetail) element;
			return workOrderDetail.getLifeCycleText();
		}
		return "";
	}

}
